﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Business.Migrations
{
    public partial class edit_Inventory_Field : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "BrandNo",
                table: "Inventorywarning",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Code",
                table: "Inventorywarning",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "InventoryquantityNo",
                table: "Inventorywarning",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "InventorytransitNo",
                table: "Inventorywarning",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "InventorywarningNo",
                table: "Inventorywarning",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "WarehouseNo",
                table: "Inventorywarning",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "InventorytransitNo",
                table: "Inventorytransit",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "InventoryquantityNo",
                table: "Inventoryquantity",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "InventorywarningNo",
                table: "Inventoryquantity",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "BrandNo",
                table: "Inventory",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Code",
                table: "Inventory",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "InventoryquantityNo",
                table: "Inventory",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "InventorytransitNo",
                table: "Inventory",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "InventorywarningNo",
                table: "Inventory",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "WarehouseNo",
                table: "Inventory",
                type: "nvarchar(max)",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "BrandNo",
                table: "Inventorywarning");

            migrationBuilder.DropColumn(
                name: "Code",
                table: "Inventorywarning");

            migrationBuilder.DropColumn(
                name: "InventoryquantityNo",
                table: "Inventorywarning");

            migrationBuilder.DropColumn(
                name: "InventorytransitNo",
                table: "Inventorywarning");

            migrationBuilder.DropColumn(
                name: "InventorywarningNo",
                table: "Inventorywarning");

            migrationBuilder.DropColumn(
                name: "WarehouseNo",
                table: "Inventorywarning");

            migrationBuilder.DropColumn(
                name: "InventorytransitNo",
                table: "Inventorytransit");

            migrationBuilder.DropColumn(
                name: "InventoryquantityNo",
                table: "Inventoryquantity");

            migrationBuilder.DropColumn(
                name: "InventorywarningNo",
                table: "Inventoryquantity");

            migrationBuilder.DropColumn(
                name: "BrandNo",
                table: "Inventory");

            migrationBuilder.DropColumn(
                name: "Code",
                table: "Inventory");

            migrationBuilder.DropColumn(
                name: "InventoryquantityNo",
                table: "Inventory");

            migrationBuilder.DropColumn(
                name: "InventorytransitNo",
                table: "Inventory");

            migrationBuilder.DropColumn(
                name: "InventorywarningNo",
                table: "Inventory");

            migrationBuilder.DropColumn(
                name: "WarehouseNo",
                table: "Inventory");
        }
    }
}
